home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Miscellany
/
Patch.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
609b
|
38 lines
// Patch.h
#ifndef Patch_h
#define Patch_h
#ifndef Integers_h
#include "Integers.h"
#endif
#include <MacTypes.h>
#include <OSUtils.h>
class PatchBase
{
private:
UniversalProcPtr old;
int32 procInfo;
int16 trapNumber;
TrapType type;
// not implemented:
PatchBase( const PatchBase& );
void operator=( const PatchBase& );
public:
PatchBase( TrapType type,
int16 trapNumber,
int32 procInfo,
const RoutineDescriptor *patch );
~PatchBase();
int32 ProcInfo() const { return procInfo; }
UniversalProcPtr Old() const { return old; }
};
#endif